package com.zslc.securitymonitoring.enums;

import lombok.Getter;

@Getter
public enum VulTypeEnum {
    BINGMAIL("BingMail.xml", "搜索引擎中可收集到邮件信息"),
    DIR_DISCLOSURE("dir_disclosure.xml", "发现敏感目录/文件"),
    FANJIEXI("fanjiexi.xml", "网站域名存在泛解析"),
    FLASH_SECURITY_CONF("Flash_security_conf.xml", "flash配置不当漏洞"),
    IDCARD_DISCLOSURE("idcard_disclosure.xml", "身份证号码信息泄露"),
    IP_DISCLOSURE("ip_disclosure.xml", "IP地址信息泄露"),
    MICROSOFT_IIS_VERSION_DISCLOSURE("Server_ShortName.xml", "IIS短文件名泄露漏洞"),
    PHONE_DISCLOSURE("phone_disclosure.xml", "电话信息泄露"),
    ROBOTS_TEXT_FILE_FOUND("Robots_text_file_found.xml", "发现ROBOTS.TXT文件"),
    SIMPLEPORTSCAN("SimplePortScan.xml", "服务端口开放信息"),
    UNBIND_HOSTNAME("unbind_hostname.xml", "网站可以用IP直接访问"),
    UNLIMIT_HOSTNAME_VUL("unlimit_hostname_vul.xml", "域名访问限制不严格漏洞"),
    USER_CREDENTIALS_ARE_SENT_IN_CLEAR_TEXT("User_credentials_are_sent_in_clear_text.xml", "用户验证信息使用明文进行传输");


    private final String value;

    private final String name;

    VulTypeEnum(String value, String name) {
        this.value = value;
        this.name = name;
    }
}